package com.panshi.pojo;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author XiaoWangYa
 * @version 1.0
 * @date 2020/8/9 0009 下午 9:19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Api("回答实体类")
public class AnswerHDVO implements Serializable {
    @ApiModelProperty("用户id")
    private int uid;
    @ApiModelProperty("用户名")
    private String name;
    @ApiModelProperty("用户头像")
    private String imgpath;
    @ApiModelProperty("文章id")
    private int aid;
    @ApiModelProperty("回答id")
    private int answer_id;
    @ApiModelProperty("回答内容")
    private String answer_comment;
    @ApiModelProperty("状态(0 伪删除 1正常)")
    private int state;
    @ApiModelProperty("评论数量")
    private int count;
    @ApiModelProperty("点赞数量")
    private int a_like;
    @ApiModelProperty("点踩数量")
    private int read_like_no;
    @ApiModelProperty("回答时间")
    private Date created_time;
    @ApiModelProperty("更新时间")
    private Date updated_time;
    @ApiModelProperty("时间转换")
    private String dateTime;

}
